package com.antis.olsl.user.login;

import com.antis.olsl.base.BasePresenter;
import com.antis.olsl.base.BaseView;
import com.antis.olsl.user.response.LoginResp;

import java.util.Map;

public class LoginContract {

    interface Presenter extends BasePresenter {
        void takeView(LoginContract.View view);

        void login(Map<String, Object> map);
    }

    interface View extends BaseView<Presenter> {
        void loginSuccess(LoginResp resp);

        void loginFailure(String msg);
    }
}
